import {MainLayout} from '@/layouts/index';
export const exampleModuleRoutes = {
  path: '/example',
  name: 'example',
  hidden: false,
  component: MainLayout,
  meta: {
    title: '示例',
    icon: 'example',
    isHas: true,
    link: null,
  },
  children: [
    {
      path: 'system',
      name: 'example_system',
      hidden: false,
      meta: {
        title: '系统管理',
        icon: 'example_system',
        isHas: true,
        link: null,
      },
      children: [
        {
          path: '/example/system/menu',
          name: 'example_system_menu',
          hidden: false,
          meta: {
            title: '菜单管理',
            icon: 'menu',
            isHas: true,
            link: null,
          },
          component: () => import('@/views/example/system/menu/index.vue'),
        },
        {
          path: '/example/system/dict',
          name: 'example_system_dict',
          hidden: false,
          meta: {
            title: '字典管理',
            icon: 'dict',
            isHas: true,
            link: null,
          },
          component: () => import('@/views/example/system/dict/index.vue'),
        },
      ],
    },
    {
      path: 'user',
      name: 'example_user',
      hidden: false,
      meta: {
        title: '用户管理',
        icon: 'user',
        isHas: true,
        link: null,
      },
      children: [
        {
          path: '/example/user/about',
          name: 'example_user_about',
          hidden: false,
          meta: {
            title: '关于我们',
            icon: 'example_user_about',
            isHas: true,
            link: null,
          },
          component: () => import('@/views/example/user/about/index.vue'),
        },
      ],
    },
  ],
};
